package org.darkforest.model;

import org.darkforest.common.util.DateUtil;
import org.darkforest.common.util.Page;

import java.math.BigDecimal;

public class OrderStatis extends Page<OrderStatis> {
    private Integer osMonth;

    private Short osYear;

    private Integer osStartDate;

    private Integer osEndDate;

    private BigDecimal osOrderTotals;

    private BigDecimal osShippingTotals;

    private BigDecimal osOrderReturnTotals;

    private BigDecimal osCommisTotals;

    private BigDecimal osCommisReturnTotals;

    private BigDecimal osStoreCostTotals;

    private BigDecimal osResultTotals;

    private Integer osCreateDate;

    private String osCreateDateStr;

    private String osStartDateStr;
    private String osEndDateStr;

    public String getOsCreateDateStr() {
        return DateUtil.toIntDateString(getOsCreateDate());
    }

    public void setOsCreateDateStr(String osCreateDateStr) {
        this.osCreateDateStr = osCreateDateStr;
    }

    public String getOsStartDateStr() {
        return DateUtil.toIntDateString(this.getOsStartDate());
    }

    public void setOsStartDateStr(String osStartDateStr) {
        this.osStartDateStr = osStartDateStr;
    }

    public String getOsEndDateStr() {
        return DateUtil.toIntDateString(this.getOsEndDate());
    }

    public void setOsEndDateStr(String osEndDateStr) {
        this.osEndDateStr = osEndDateStr;
    }

    public Integer getOsMonth() {
        return osMonth;
    }

    public void setOsMonth(Integer osMonth) {
        this.osMonth = osMonth;
    }

    public Short getOsYear() {
        return osYear;
    }

    public void setOsYear(Short osYear) {
        this.osYear = osYear;
    }

    public Integer getOsStartDate() {
        return osStartDate;
    }

    public void setOsStartDate(Integer osStartDate) {
        this.osStartDate = osStartDate;
    }

    public Integer getOsEndDate() {
        return osEndDate;
    }

    public void setOsEndDate(Integer osEndDate) {
        this.osEndDate = osEndDate;
    }

    public BigDecimal getOsOrderTotals() {
        return osOrderTotals;
    }

    public void setOsOrderTotals(BigDecimal osOrderTotals) {
        this.osOrderTotals = osOrderTotals;
    }

    public BigDecimal getOsShippingTotals() {
        return osShippingTotals;
    }

    public void setOsShippingTotals(BigDecimal osShippingTotals) {
        this.osShippingTotals = osShippingTotals;
    }

    public BigDecimal getOsOrderReturnTotals() {
        return osOrderReturnTotals;
    }

    public void setOsOrderReturnTotals(BigDecimal osOrderReturnTotals) {
        this.osOrderReturnTotals = osOrderReturnTotals;
    }

    public BigDecimal getOsCommisTotals() {
        return osCommisTotals;
    }

    public void setOsCommisTotals(BigDecimal osCommisTotals) {
        this.osCommisTotals = osCommisTotals;
    }

    public BigDecimal getOsCommisReturnTotals() {
        return osCommisReturnTotals;
    }

    public void setOsCommisReturnTotals(BigDecimal osCommisReturnTotals) {
        this.osCommisReturnTotals = osCommisReturnTotals;
    }

    public BigDecimal getOsStoreCostTotals() {
        return osStoreCostTotals;
    }

    public void setOsStoreCostTotals(BigDecimal osStoreCostTotals) {
        this.osStoreCostTotals = osStoreCostTotals;
    }

    public BigDecimal getOsResultTotals() {
        return osResultTotals;
    }

    public void setOsResultTotals(BigDecimal osResultTotals) {
        this.osResultTotals = osResultTotals;
    }

    public Integer getOsCreateDate() {
        return osCreateDate;
    }

    public void setOsCreateDate(Integer osCreateDate) {
        this.osCreateDate = osCreateDate;
    }
}